﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace rmTest.Common.AttrUtil
{
    [AttributeUsage(AttributeTargets.Enum | AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property)]
    public class DisplayBaseAttribute : Attribute
    {
        public DisplayBaseAttribute(string name)
        {
            this.Name = name;
        }

        public string Name { get; set; }

        public string GetDisplayName()
        {
            return this.Name;
        }
    }

     
}
